pub const LEGACY_RULE_CODE_MAPPINGS: &[(&str, &str)] = &[
    ("consistency/array-syntax", "array-style"),
    ("strictness/missing-assert-description", "assert-description"),
    ("consistency/require-block-statement-body", "block-statement"),
    ("consistency/string-interpolation-braces", "braced-string-interpolation"),
    ("best-practices/no-sprintf-concatenation", "no-sprintf-concat"),
    ("best-practices/no-unused-parameter", "no-unused-parameter"),
    ("best-practices/use-while-instead-of-for", "prefer-while-loop"),
    ("comment/docblock-syntax", "valid-docblock"),
    ("comment/no-empty-comments", "no-empty-comment"),
    ("comment/no-shell-style", "no-hash-comment"),
    ("comment/no-trailing-whitespace", "no-trailing-space"),
    ("comment/no-untagged-fixme", "tagged-fixme"),
    ("comment/no-untagged-todo", "tagged-todo"),
    ("consistency/lowercase-hint", "lowercase-type-hint"),
    ("consistency/lowercase-keyword", "lowercase-keyword"),
    ("consistency/no-function-aliases", "no-alias-function"),
    ("consistency/no-tag-pair-terminator", "no-php-tag-terminator"),
    ("deprecation/php80/optional-parameter-before-required", "optional-param-order"),
    ("deprecation/php82/return-by-reference-from-void-function", "no-void-reference-return"),
    ("deprecation/php84/implicitly-nullable-parameter", "explicit-nullable-param"),
    ("deprecation/php84/underscore-classname", "no-underscore-class"),
    ("laravel/best-practices/anonymous-migration", "prefer-anonymous-migration"),
    ("laravel/best-practices/view-array-parameter", "prefer-view-array"),
    ("migration/php80/str-contains", "str-contains"),
    ("migration/php80/str-starts-with", "str-starts-with"),
    ("migration/php81/explicit-octal-notation", "explicit-octal"),
    ("naming/class", "class-name"),
    ("naming/constant", "constant-name"),
    ("naming/enum", "enum-name"),
    ("naming/function", "function-name"),
    ("naming/interface", "interface-name"),
    ("naming/trait", "trait-name"),
    ("psl/array-functions", "psl-array-functions"),
    ("psl/data-structures", "psl-data-structures"),
    ("psl/datetime", "psl-datetime"),
    ("psl/math-functions", "psl-math-functions"),
    ("psl/output", "psl-output"),
    ("psl/randomness-functions", "psl-randomness-functions"),
    ("psl/regex-functions", "psl-regex-functions"),
    ("psl/sleep-functions", "psl-sleep-functions"),
    ("psl/string-functions", "psl-string-functions"),
    ("redundancy/redundant-block", "no-redundant-block"),
    ("redundancy/redundant-closing-tag", "no-closing-tag"),
    ("redundancy/redundant-continue", "no-redundant-continue"),
    ("redundancy/redundant-file", "no-redundant-file"),
    ("redundancy/redundant-final-method-modifier", "no-redundant-final"),
    ("redundancy/redundant-label", "no-redundant-label"),
    ("redundancy/redundant-mathematical-operation", "no-redundant-math"),
    ("redundancy/redundant-method-override", "no-redundant-method-override"),
    ("redundancy/redundant-noop", "no-noop"),
    ("redundancy/redundant-parentheses", "no-redundant-parentheses"),
    ("redundancy/redundant-string-concat", "no-redundant-string-concat"),
    ("redundancy/redundant-write-visibility", "no-redundant-write-visibility"),
    ("safety/no-error-control-operator", "no-error-control"),
    ("safety/no-eval", "no-eval"),
    ("safety/no-ffi", "no-ffi"),
    ("safety/no-global", "no-global"),
    ("safety/no-request-variable", "no-request-var"),
    ("safety/no-shell-execute-string", "no-shell-exec"),
    ("strictness/no-assignment-in-condition", "no-assign-in-condition"),
    ("strictness/no-empty-construct", "no-empty"),
    ("strictness/no-shorthand-ternary", "no-shorthand-ternary"),
    ("strictness/require-constant-type", "constant-type"),
    ("strictness/require-identity-comparison", "identity-comparison"),
    ("strictness/require-return-type", "return-type"),
    ("strictness/require-strict-behavior", "strict-behavior"),
    ("strictness/require-strict-types", "strict-types"),
    ("symfony/interface-should-be-used", "prefer-interface"),
    ("phpunit/assertion-style", "assertion-style"),
    ("redundancy/redundant-if-statement", "constant-condition"),
    ("security/no-insecure-comparison", "no-insecure-comparison"),
    ("security/no-literal-password", "no-literal-password"),
    ("security/tainted-data-to-skin", "tainted-data-to-sink"),
    ("strictness/require-parameter-type", "parameter-type"),
    ("strictness/require-property-type", "property-type"),
    ("safety/no-unsafe-finally", "no-unsafe-finally"),
    ("phpunit/strict-assertions", "strict-assertions"),
    ("laravel/no-request-all", "no-request-all"),
    ("best-practices/no-boolean-literal-comparison", "no-boolean-literal-comparison"),
    ("best-practices/no-else-clause", "no-else-clause"),
    ("best-practices/loop-does-not-iterate", "loop-does-not-iterate"),
    ("best-practices/no-empty-catch-clause", "no-empty-catch-clause"),
];
